<h1>Create rar file from folder</h1>

<p>Put foler in {module-name}/data/zip/input then enter the folder name in the text below. The result will be stored in <i>archive</i> foler.</p>

<form method="post" action="<?php echo $this->url('compress/go', array('controller'=>'TtkRar', 'action'=>'createRar'));?>">
	<label>Put folder name here</label>
	<input type="text" name="name"/>
	<input type="submit" name="submit" value="Create Rar"/>
</form>

<br/>

<h1>Extract a rar file to a folder</h1>

<p>Put foler in {module-name}/data/zip/input then enter the folder name in the text below. The result will be stored in <i>extracted</i> foler.</p>

<form method="post" action="<?php echo $this->url('compress/go', array('controller'=>'TtkRar', 'action'=>'extractRar'));?>">
	<label>Put zip file name here</label>
	<input type="text" name="name"/>
	<input type="submit" name="submit" value="Extract Rar"/>
</form>
